package com.wzapp.sitposture.common.page;

import lombok.Data;

@Data
public class PageParam {
    /**
     * 当前页码（JPA的Pageable是从0开始计数）
     */
    private Integer pageNum = 0;

    /**
     * 每页条数
     */
    private Integer pageSize = 10;

    public PageParam() {
    }

    public PageParam(Integer pageNum, Integer pageSize) {
        this.pageNum = pageNum;
        this.pageSize = pageSize;
    }
}
